'use strict';

const mongoose = require('mongoose');

const AdminSchema = new mongoose.Schema({
    username: String,
    password: String
});

AdminSchema.index({ username: 1 });

mongoose.model('admin', AdminSchema);

